ISCModelProperty::Value Arguments (Set Function)

Here is the signature for the Value (Set) function:

void Value(VARIANT ValueId, VARIANT ValueType, VARIANT Val)

The following table contains the valid arguments for the Value (Set) function:

Parameter

Valid Type/Value

Description

ValueId [optional]

Empty

Valid for a scalar property only.

ValueId [optional]

VT_I4 � Index of a non-scalar property

Indicates a value position with a zero-based index in a non-scalar property.

A value of -1 causes a new value to be added at the end of the vector.

ValueId [optional]

VT_BSTR � Name of the element in a multi-valued property

Indicates a value position with the given name.

ValueType [optional]

Empty

Not used

Val

Dependent upon the property type